package com.battcn.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author Levin
 * @since  2018/01/03 0024
 */
@RestController
public class DemoController {

    @RequestMapping("/index")
    @ResponseBody
    public String index() {
        return "hello";
    }


}
